package com.xx.chb01.rabbitmq.receiver;

import org.springframework.amqp.rabbit.annotation.RabbitHandler;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

//@Component
//@RabbitListener(queues = "queue_hello")
//public class HelloReceiver {
//
//    @RabbitHandler
//    public void process(String hello) {
//        System.out.println("消费者  : " + hello);
//    }
//
//}


